package com.oracle.third.service.email.api;

import com.oracle.vo.ResultEntity;

public interface EmailServiceApi {

    /**
     * 验证邮箱注册验证码是否正确
     * @param email
     * @param requestCode
     * @return
     */
    ResultEntity checkedRandomCode(String email, String requestCode);

    /**
     * 是否可以发送验证码
     * @param email
     * @return
     */
    ResultEntity checkedCanReSndRandomCode(String email);
}
